package dm.user.consumer.dmo.service;

import cn.t11.dm.pojo.Dto;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author jobob
 * @since 2020-01-14
 */
@FeignClient(name = "user-userServiceDemo.service",fallback = UserConsumerFeignFallBack.class)
@Service
public interface IDmUserService  {
    @PostMapping("p/login")
    Dto doLogin(@RequestParam("phone") String phone, @RequestParam("password") String password);
}
